﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Svg;
using System.Runtime.Serialization;
using System.Drawing;
using Commons;

namespace HumanFace
{
    [DataContract]
    public class Ear : Entities.Base.EarBASE
    {
        public Ear(NodeCollection pointList, int Direction, Dictionary<string, string> templates)
            : base(templates, pointList)
        {
            this.EarDirection = Direction;
            CreateProperties();
            RenderVectorelGraphic();
        }
        public Ear()
        {
        }
        protected override void RenderVectorelGraphic()
        {
            base.RenderVectorelGraphic();

            if (this.SVG != null)
                this.SvgDoc = SketchHelper.ConvertTo(this.SVG);
        }
        private void CreateProperties()
        {
            
        }
    }
}
